package com.aidex.biz.mapper;

import com.aidex.common.core.mapper.BaseMapper;
import com.aidex.biz.domain.TempShareRule;

/**
 * 分配规则临时表Mapper接口
 *
 * @author sean
 * @email 2074844820@qq.com
 * @date 2025-04-03
 */
public interface TempShareRuleMapper extends BaseMapper<TempShareRule> {

    /**
     * 批量删除分配规则临时表
     *
     * @param ids 需要删除的分配规则临时表ID集合
     * @return
     */
    public int deleteTempShareRuleByIds(String[] ids);

    /**
     * 获取最大编号
     *
     * @param tempShareRule 分配规则临时表
     * @return 结果
     */
    public Integer findMaxSort(TempShareRule tempShareRule);

    /**
     * 根据规则id删除临时规则数据
     *
     * @param ids
     * @return
     */
    public int deleteTempShareRuleByRuleIds(String[] ids);
    public int deleteTempShareRuleByRuleIdLaiyuan(TempShareRule tempShareRule);
}
